
/*
Interface to create and convert between different
low level resource data types and Tetra Game
Engine data types
*/

#include "CMCGlu.h"


using namespace irr;
using namespace MarCore;

CMCGlu::CMCGlu(  )
{

};

CMCGlu::~CMCGlu()
{

};

//! Probes and converts needed CVQVertex data through reference and returns required graphics rendering data.
video::S3DVertex CMCGlu::createS3DVertexFromCTetraVertex( CTetraVertex& vert )
{

    video::S3DVertex* n_vert = new video::S3DVertex

    (
    vert_.getPosition(),
    core::vector3df(1,0,1),
    video::SColor(255, 255, 255, 255),

    ///@todo Automated texture coordinate assignment.
    core::vector2d<f32>(1,0)

    );

    return *n_vert;

}; //end CVQVertexToS3DVertex()

/*
btVector3 CMCGlu::btVector3FromVector3df( core::vector3df& vec )
{

    btVector3* btvec =new
    btVector3( btScalar( vec.X ), btScalar( vec.Y ), btScalar( vec.Z ) );
    return *btvec;

};
*/

scene::ISceneNode* createGraphicsExternal( IGameObject3d* game_obj )
{

};

/*
btRigidBody* createPhysicsExternal( IGameObject3d* game_obj )
{

};
*/
